Modification Title: Portal System Addon: Clock/Calendar Block v1.0

Modification Author: neil
Clock/Calendar Author: Unknown

Required: Portal System v4.0

Last Updated: 04/14/09

Modification Description:
This modification will add a Flash Clock/Calendar Portal Block to the Portal System.
Supported Version: XMB 1.9.8 SP3

Installation Note: Before adding this modification block to your forum you should back up all files related to this modification.

License Note: This modification is released under the GPL License. A copy is provided with this software package.

Author Note:
For security purposes, Please Check: http://www.xmbgarage.com for the latest version of this modification.
Downloading this modification from other sites could cause malicious code to enter into your XMB Forum software.
As such, XMBGarage.com will not offer support for modifications not offered at our web site.

=======================================================================================================================

==========================================
Step 1:  Go to Portal Admin:  Add Portal Blocks
==========================================

Create portal block:  portal_clock

=======================================================================================================================

================================================
Step 2:  Add this info to the portal_clock block
================================================
<table cellspacing="0" cellpadding="0" border="0" width="100%" bgcolor="$bordercolor">
<tr>
<td>
<table border="0" cellspacing="$borderwidth" cellpadding="$tablespace" width="100%">
<tr>
<td class="category"><strong><font color="$cattext">&raquo;Clock</font></strong></td>
</tr>
<tr><td bgcolor="$THEME[altbg2]" class="tablerow">
<center> <OBJECT id=clockcalendar codeBase=http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=6,0,0,0 height=130 width=130 classid=clsid:D27CDB6E-AE6D-11cf-96B8-444553540000><PARAM NAME="movie" VALUE="images/clockcalendar.swf"><PARAM NAME="quality" VALUE="high"><PARAM NAME="bgcolor" VALUE="#FFFFFF"><PARAM NAME="wmode" VALUE="transparent"><PARAM NAME="menu" VALUE="false"><EMBED src="images/clockcalendar.swf" quality=high bgcolor=#FFFFFF  WIDTH="130" HEIGHT="130" wmode="transparent" ALIGN="" TYPE="application/x-shockwave-flash" PLUGINSPAGE="http://www.macromedia.com/go/getflashplayer" menu="false"></EMBED></OBJECT></center>
</td></tr>
</table>
</td>
</tr>
</table>

=======================================================================================================================

==============================
Step 3:  Edit File: portal.php
==============================

==========
Find Code:
==========

'pcopyright'
);

===========================================
Replace Code With:
===========================================

'pcopyright',
'portal_clock'
);

=======================================================================================================================

==========================================
Step 4:  Upload to your "images" directory
==========================================

clockcalendar.swf